package com.arox.springinaction.post;

import org.springframework.stereotype.Component;

@Component("messageHandler")
public class MessageHandler {
    
    public void displayMail(Mail mail) {
	System.out.println("Mail #" + mail.getMailId() + " received");
    }

}
